package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.Activity;

import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

//创建ActivityMapper,用于数据库操作
@Repository
public interface ActivityMapper extends BaseMapper<Activity> {
    List<Activity> getActivitySearch(String activityName, Date startDate, Date endDate);
}
